package com.killLog.dao;

import com.killLog.common.CurrentUser;
import com.killLog.dto.LoginDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
登录功能持久层
*/
@Mapper
public interface LoginDao {
    @Select("select u_id as userId,u_name as userName from t_user where u_id = #{u_id} and u_status!=99")
    CurrentUser findUser(LoginDto loginDto);
}
